<!DOCTYPE html> 
<html> 
	<head> 
	<title>Registro Empresa</title> 
	<meta charset="UTF-8" />
	<meta name="viewport" content="width=device-width, initial-scale=1"> <!-- cuidado si no se coloca esto -->

	<link rel="stylesheet" href="css/jquery.mobile-1.3.2.css" />
	<link rel="stylesheet" href="css/empleo.css" />
	<script src="js/jquery.js"></script>
	<script src="js/jquery.mobile-1.3.2.js"></script>
	<script src="js/validarRegistro.js"></script>
</head> 

<body> 

	<div data-role="page" id="registro">
		<div data-role="header" data-position="fixed">
			<a href="login.html" data-inline="true"  data-mini="true" data-icon="home" data-iconpos="notext">Home</a>
				<h1>REGISTRO</h1>
			<a href="indexEmpresa.html" id="save" data-mini="true" data-icon="check" data-iconpos="right">Guardar</a>
		</div>
	
		<div data-role="content">
			<form id="registroEmpresaForm" name="registroEmpresaForm" action="http://bolsacetic.esy.es/Proyecto_PHP/controlador.php" method="post">	
				<label for="usuario">CIF</label>
				<input type="text" name="ccif" id="usuario" data-clear-btn="true" data-mini="true" value="" required/>
				<div id="errUsuario" class="error"></div>
				
				<label for="pass">Contraseña</label>
				<input type="password" name="cpass" id="pass" data-clear-btn="true" data-mini="true" value="" required/>
				<div id="errPass" class="error"></div>
				
				<label for="passRep">Repite Contraseña</label>
				<input type="password" name="passrep" id="passrep" data-clear-btn="true" data-mini="true" value="" required/>
				<div id="errPassRep" class="error"></div>
				
				<label for="nombre">Nombre empresa</label>
				<input type="text" name="cnombre" id="nombre" data-clear-btn="true" data-mini="true" value="" required/>
							
				<label for="persona">Persona de Contacto</label>
				<input type="text" name="cpers" id="persona" data-clear-btn="true" data-mini="true" value="" required/>
								
				<label for="mail">eMail</label>
				<input type="email" name="cmail" id="mail" data-clear-btn="true" data-mini="true" value="" required/>
				<div id="errMail" class="error"></div>
				
				<label for="telefono">Telefono</label>
				<input type="text" name="ctf" id="telefono" data-clear-btn="true" data-mini="true" value="" required/>
							
				<label for="domicilio">Domicilio</label>
				<input type="text" name="cdom" id="domicilio" data-clear-btn="true" data-mini="true" value="" required/>
				
				<label for="desc">Descripción breve</label>
				<input type="text" name="cdesc" id="desc" data-clear-btn="true" data-mini="true" value=""/>
				
				<input type="hidden" name="accion" value="registroEmpresa" />
			</form>
			
			<div id="fracaso" class="oculto">
	            Se ha producido un error durante el envío de datos.
	        </div>
			
			<script type="text/javascript">
				validaEmpresa();
			</script>
		</div>	
	</div>

</body>
</html>